import Api from "./Api";

const baseApiUrl = "http://localhost:8083/mock"

export default {
    Login: function (param) {
        return Api({
            url: baseApiUrl + "/user/login",
            method: "post",
            data: param
        })
    },
    LoginOut: function (param) {
        return Api({
            url: baseApiUrl + "/user/loginOut",
            method: "get",
            data: param
        });
    },
    UserList: function (param) {
        return Api({
            url: baseApiUrl + "/user/list",
            method: "get",
            data: param
        });
    }
}